package com.sg.bean;

/**
 * @author zl
 * 角色实体类
 */

public class Role {

    /**
     * 角色编号
     */
    private int rId;

    /**
     * 角色名称
     */
    private String rName;

    @Override
    public String toString() {
        return "Role{" +
                "rId=" + rId +
                ", rName='" + rName + '\'' +
                '}';
    }

    public Role(int rId, String rName) {
        this.rId = rId;
        this.rName = rName;
    }

    public Role() {
    }

    public int getrId() {
        return rId;
    }

    public void setrId(int rId) {
        this.rId = rId;
    }

    public String getrName() {
        return rName;
    }

    public void setrName(String rName) {
        this.rName = rName;
    }
}
